package com.bdqn.mapper;

import com.bdqn.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierMapper {
    List<Supplier> queryPageByRealNameAndRoleId(@Param("pageIndex") int pageIndex, @Param("pageSize") int pageSize, @Param("supCode")String supCode, @Param("supName")String supName);
    int getCount();
    List<Supplier> getAll();
    int add(@Param("supplierList") Supplier supplierList);
    Supplier getSupplier(@Param("supId") int supId);
    int upd(@Param("supplier") Supplier supplier);
    int del(@Param("supId") int supId);



}
